package com.qf.generator.mapper;

import com.qf.generator.Pojo.TbUser;
import com.qf.generator.Pojo.UserVO;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

/**
* @author LC
* @description 针对表【tb_user】的数据库操作Mapper
* @createDate 2025-09-25 09:48:23
* @Entity generator.domain.TbUser
*/
public interface TbUserMapper  {

    TbUser getUserById(Integer id);

    ArrayList<TbUser> getUserList();

    TbUser login( @Param("username")String username ,@Param("password") String password);

    ArrayList<TbUser> getUserByMap(HashMap<String, String> map);

    TbUser loginv2(TbUser user);

    int addUser(TbUser user);

    int updateUser(TbUser user);

    int deleteUser(int id);

    ArrayList<TbUser> GetUserByMapv2(Map<String, Object> map);

    int updateUserv2(TbUser user);

    int deleteUserList(ArrayList<Integer> list);

    UserVO GetOrderListByID(Integer id);
}
